div(ng-form name="clusterForm" role="form" ng-class="{'need-valid':valid.needValid}")
	ul.com-list-info
		//- li(ng-if="!creatCluster")
			span.info-name 集群名称
			.info-content(ng-bind="config.name")
		li
			span.info-name 集群名称
			.info-content
				input.ui-input-fill.line-single(ng-model="config.name" is-cluster-exist cluster-list="clusterList" name="clusterName" ng-model-options="{updateOn:'default blur',debounce:{default:500,blur:0}}" required)
				span.txt-error(ng-if="(valid.needValid||clusterForm.clusterName.$dirty)&&clusterForm.clusterName.$error.isClusterExist") 集群已存在
		li(ng-if="config.id")
			span.info-name 创建者
			.info-content(ng-bind="config.ownerName||'无'")
		li(ng-if="!config.id")
			span.info-name 创建者
			.info-content
				creator-selection(change-event="clusterIns.toggleUser(user)")
				//- .com-select-con.select-creator(select-con)
					button.ui-btn.ui-btn-white.ui-btn-select(ng-cloak)
						i.icon-down
						| {{config.ownerName}}
					ul.select-list
						li.select-item(ng-repeat="user in clusterIns.userList")
							a(ng-bind="user.name" ng-click="clusterIns.toggleUser(user)")
		li
			span.info-name api server
			.info-content
				input.ui-input-fill.line-single(ng-model="config.api" name="api" placeholder="请输入api server地址" ng-model-options="{updateOn:'default blur',debounce:{default:500,blur:0}}"  is-api-server-exist current-cluster="{{config.name}}" cluster-list="clusterList" required)
				span.txt-error(ng-if="(valid.needValid||clusterForm.api.$dirty)&&clusterForm.api.$error.isApiServerExist") api server已存在
		li
			span.info-name dns服务器
			.info-content
				input.ui-input-fill.line-single(ng-model="config.dns" name="dns" placeholder="请输入dns服务器地址，不加端口号" required)
		li
			span.info-name etcd
			.info-content(ng-form name="etcdTotalForm")
				div.line-single(ng-form role="form" name="etcdForm" ng-repeat="etcd in config.etcd")
					input.ui-input-fill.single-element(ng-model="etcd.name" name="etcd" ng-focus="$last&&clusterIns.addEtcd()" ng-keyup="clusterIns.validItem('etcd')" ng-pattern="/^[^\\s]*$/" placeholder="请输入etcd地址")
					a.txt-wrap.icon-delete(ng-show="config.etcd.length>1" ng-click="clusterIns.deleteArrItem('etcd',$index)")
				span.txt-error(ng-if="etcdTotalForm.$valid&&!clusterIns.etcdValid") 至少填写一个
		li
			span.info-name domain
			.info-content
				input.ui-input-fill.line-single(ng-model="config.domain" name="domain" required)
		li
			span.info-name 日志自动收集
			.info-content
				dome-toggle(ng-class="{1:'on'}[config.logConfig]" ng-click="clusterIns.toggleLogConfig()")
				span.txt-prompt 请在启用前确认您的集群配置了kafka
		li(ng-if="config.logConfig===1")
			span.info-name kafka
			.info-content(ng-form name="kafkaTotalForm")
				div.line-single(ng-form role="form" name="kafkaForm" ng-repeat="kafka in config.clusterLog.kafka")
					input.ui-input-fill.single-element(ng-model="kafka.name" name="kafka" ng-focus="$last&&clusterIns.addKafka()" ng-keyup="clusterIns.validItem('kafka')" ng-pattern="/^[^\\s]*$/" placeholder="请输入kafka地址")
					a.txt-wrap.icon-delete(ng-show="config.clusterLog.kafka.length>1" ng-click="clusterIns.deleteLogArrItem('kafka',$index)")
				span.txt-error(ng-if="kafkaTotalForm.$valid&&!clusterIns.kafkaValid") 至少填写一个
		li(ng-if="config.logConfig===1")
			span.info-name zookeeper
			.info-content(ng-form name="zookeeperTotalForm")
				div.line-single(ng-form role="form" name="zookeeperForm" ng-repeat="zookeeper in config.clusterLog.zookeeper")
					input.ui-input-fill.single-element(ng-model="zookeeper.name" ng-focus="$last&&clusterIns.addZookeeper()" name="zookeeper" ng-keyup="clusterIns.validItem('zookeeper')" ng-pattern="/^[^\\s]*$/" placeholder="请输入zookeeper地址")
					a.txt-wrap.icon-delete(ng-show="config.clusterLog.zookeeper.length>1" ng-click="clusterIns.deleteLogArrItem('zookeeper',$index)")
				span.txt-error(ng-if="zookeeperTotalForm.$valid&&!clusterIns.zookeeperValid") 至少填写一个
		li(ng-if="config.logConfig===1")
			span.info-name 日志容器
			.info-content
				.cluster-log-con
					input.ui-input-fill.cluster-log(placeholder="请输入容器镜像名" name="imageName" ng-model="config.clusterLog.imageName" required)
					input.ui-input-fill.cluster-log(placeholder="请输入容器镜像版本" name="imageTag" ng-model="config.clusterLog.imageTag")